package com.wjc.jcweather.logic.network

import com.wjc.jcweather.XApplication
import com.wjc.jcweather.logic.model.PlaceResponse
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * ClassName: com.wjc.jcweather.logic.network
 * Description:
 * JcChen on 2020.10.01.4:31 PM
 */
interface PlaceService {
    @GET("v2/place?token=${XApplication.TOKEN}&lang=zh_CN")
    fun searchPlaces(@Query("query") query: String): Call<PlaceResponse>
}